package com.jeeplus.mob.mapper;

import com.jeeplus.mob.entity.mobpojo.BuildingcardrecordInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface BuildingcardrecordInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BuildingcardrecordInfo record);

    int insertSelective(BuildingcardrecordInfo record);

    BuildingcardrecordInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BuildingcardrecordInfo record);

    int updateByPrimaryKey(BuildingcardrecordInfo record);

    int insertBuildingCardrecord(BuildingcardrecordInfo buildingcardrecordInfo);

    List<BuildingcardrecordInfo> getBuildingcardrecordInfoByIds(@Param("ids") String id);

    List<BuildingcardrecordInfo> getBuildingcardrecordInfoByUserDate(Map<String,Object> map);
}